/**   
 * @Title: CarouselDAO.java 
 * @Package com.neusoft.neumooc.dao.front 
 * @Description: TODO 
 * @author acer   
 * @date 2016年9月16日 下午5:29:44 
 */

package com.neusoft.neumooc.dao.front;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.neusoft.core.common.BaseDAO;
import com.neusoft.core.common.exception.DAOException;
import com.neusoft.neumooc.vo.ContentVO;

/**
 * @ClassName: CarouselDAO
 * @Description: TODO
 * @author acer
 * @date 2016年9月16日
 */
@Repository
public class CarouselDAOImpl extends BaseDAO implements CarouselDAO {
	/**
	 * @Title: queryColumsList
	 * @Description: TODO
	 * @return
	 * @throws DAOException
	 */
	private final static String Get_Carousel_SQL = "select pic from cw_contents where columnId='gg'and status='1'";

	@Override
	public List<ContentVO> queryColumsPicList() throws DAOException {

		return this.queryForBeanList(Get_Carousel_SQL, ContentVO.class);
	}
}
